<?php
$seg = new XSegment();
$kw = $seg->getKeyword('我爱北京天安门');
var_dump($kw);